<%@ page contentType="text/html;charset=UTF-8" language="java" import="com.scalar.chiptrack.utils.ConfigManager"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-nested.tld" prefix="nested" %>
<%@ taglib uri="/WEB-INF/chiptrack-tags.tld" prefix="chiptrack" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<chiptrack:checkLogon sourcePage="/baseProductList.do"/>

<%String chipTracContext = "/" + ConfigManager.getChipTracContext();%>

<HTML><HEAD><TITLE>Scalarsoft - ChipTrac</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<LINK href='<%=chipTracContext%>/jsp/includes/stylesheets/scalarsoft.css' type='text/css' rel='stylesheet'>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" marginwidth="0">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0 bgcolor="#FFFFEE">
	<TBODY>
		<TR>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
			<TD align="center" CLASS="NArialL" ><a href="javascript:close();">close</a></TD>
		</TR>
		<TR>
			<TD><chiptrack:info styleClass="NArialL" /></TD>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</TR>
		<TR>
			<TD><chiptrack:errors styleClass="NArialL" /></TD>
			<td></td>
			<td></td>
		</TR>
		<TR>
			<TD><chiptrack:moreErrorInfo styleClass="NArialL" /></TD>
			<td>&nbsp;</td>
			<td>&nbsp;</td>
		</TR>
		<TR>
            <%
				String productName = (String)request.getAttribute( "productName" );
				if( productName != null)
				{
			%>
			<td CLASS="NArialL" width="40%">Product Master File:&nbsp;</td>
			<td CLASS="NArialL" >

				<a href='<%=chipTracContext%><%=ConfigManager.getPmfFilePath()%>/<%=productName%>.xls' onMouseOver="window.status='Please right click and select Save target as to save the File';return true" onMouseOut="window.status='';return true" target="resource window"><%=productName%>.xls</a>

			</td>
			
			<td></td>
		</TR>
		<TR>
			<TD CLASS="NArialL" colspan="3">&nbsp;</TD>
		</TR>

		<TR>
			<TD CLASS="NArialL" colspan="3">To download the File Right Click and select Save Target as..</TD>
		</TR>
            <%
				}
			%>
		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
		<TR>
			<TD colspan="3">&nbsp;</TD>
		</TR>
	</TBODY>
</TABLE>
</BODY>
</HTML>
